/*
 * Console.h
 *
 *  Created on: May 30, 2011
 *      Author: madboyka
 */

#ifndef CONSOLE_H_
#define CONSOLE_H_
#ifdef USE_CURSES
#include "ncurses.h"
#endif
/*!
 * This class is currently obsolete.
 */
class Console
{
	static Console *instance;
#ifdef USE_CURSES
	WINDOW *logWindow;
	int logLength;
	WINDOW *debugWindow;
	WINDOW *statusWindow;
#endif
	Console();
	int width;
	int height;
public:
	static Console* init();
	void logput(const char*);
	void log(const char* , ...);
	void dumpMatrix(float*);
	void close();
	void waitForInput();
};

#endif /* CONSOLE_H_ */
